namespace Rhizome.Contract
{
    /// <summary>
    /// Automaton enter/exit state notification listening support
    /// </summary>
    public interface IStateInitialize
    {
        /// <summary>
        /// Runs after automaton has entered this state
        /// </summary>
        void Initialize();

        /// <summary>
        /// Runs before automaton exits this state
        /// </summary>
        void Cleanup();
    }
}